home *** CD-ROM | disk | FTP | other *** search
/ CyberMycha 2008 January / Cybermycha 1_2008.iso / dema / crysis_sp_demo.exe / AllOth~1.cab / shaders.pak / Shaders / Custom.ext < prev    next >
Encoding:
Text File  |  2006-10-15  |  3.1 KB  |  146 lines

  1. ////////////////////////////////////////////////////////////////////////////
  2. //
  3. //  Crytek Engine Source File.
  4. //  Shader extension
  5. //  Copyright (C), Crytek Studios, 2001-2004.
  6. // -------------------------------------------------------------------------
  7. //  Created:     28/06/2006 by Tiago Sousa
  8. //
  9. ////////////////////////////////////////////////////////////////////////////
  10.  
  11. Version (1.00)
  12.  
  13. Property
  14. {
  15.   Name = %BUMP_MAP
  16.   Mask = 0x1
  17.   Property    (Bump map)
  18.   Description (Use bump-map texture)
  19.   DependencySet = $TEX_Bump
  20.   DependencyReset = $TEX_Bump
  21.   Hidden
  22. }
  23.  
  24. Property
  25. {
  26.   Name = %GLOSS_MAP
  27.   Mask = 0x2
  28.   Property    (Gloss map)
  29.   Description (Use gloss map as separate texture)
  30.   DependencySet = $TEX_Gloss
  31.   DependencyReset = $TEX_Gloss
  32.   Hidden  
  33. }
  34.  
  35. Property
  36. {
  37.   Name = %BUMP_DIFFUSE
  38.   Mask = 0x4
  39.   Property    (BumpDiffuse)
  40.   Description (Use separate bump map for diffuse lighting)
  41.   DependencySet = $TEX_BumpDiffuse
  42.   DependencyReset = $TEX_BumpDiffuse
  43.   Hidden
  44. }
  45.  
  46. Property
  47. {
  48.   Name = %ENVIRONMENT_MAP
  49.   Mask = 0x8
  50.   Property    (Environment map)
  51.   Description (Use environment map as separate texture)
  52.   DependencyReset = $TEX_EnvCM
  53. }
  54.  
  55. Property
  56. {
  57.   Name = %DECAL_MAP
  58.   Mask = 0x10
  59.   Property    (Decal map)
  60.   Description (Use decal map for giving texture variation while keeping same diffuse map)
  61.   DependencySet = $TEX_Decal
  62.   DependencyReset = $TEX_Decal
  63.   Hidden  
  64. }
  65.  
  66. Property
  67. {
  68.   Name = %CUSTOM_DIFFUSE
  69.   Mask = 0x20
  70.   Property    (Custom diffuse shading)
  71.   Description (Use custom slot for custom diffuse shading map)
  72.   DependencySet = $TEX_Custom
  73.   DependencyReset = $TEX_Custom
  74.   Hidden  
  75. }
  76.  
  77. Property
  78. {
  79.   Name = %CUSTOM_SPECULAR
  80.   Mask = 0x40
  81.   Property    (Custom specular shading)
  82.   Description (Use custom secondary slot for custom specular shading map)
  83.   DependencySet = $TEX_CustomSecondary
  84.   DependencyReset = $TEX_CustomSecondary
  85.   Hidden  
  86. }
  87.  
  88. Property
  89. {
  90.   Name = %GLOSS_DIFFUSEALPHA
  91.   Mask = 0x80
  92.   Property    (Gloss map in diffuse alpha)
  93.   Description (Assumes gloss map comes from diffuse map alpha channel)
  94. }
  95.  
  96. Property
  97. {
  98.   Name = %SPECULARPOW_GLOSSALPHA
  99.   Mask = 0x100
  100.   Property    (Shininess map in specular alpha)
  101.   Description (Assumes specular glossiness comes from specular map alpha channel)
  102.   DependencyReset = $TEX_Gloss
  103.   Hidden
  104. }
  105.  
  106. Property
  107. {
  108.   Name = %RIM_LIGHTING
  109.   Mask = 0x200
  110.   Property    (Rim lighting)
  111.   Description (Use adding rim lighting)
  112. }
  113.  
  114. Property
  115. {
  116.   Name = %VERTCOLORS
  117.   Mask = 0x400
  118.   Property    (Vertex Colors)
  119.   Description (Multiply vertex colors with final shader result)
  120. }
  121.  
  122. Property
  123. {
  124.   Name = %WIND_BENDING
  125.   Mask = 0x800
  126.   Property    (Wind bending)
  127.   Description (Gets affected by wind entities. Use extra shader parameters to tweak look.)
  128. }
  129.  
  130. Property
  131. {
  132.   Name = %STAT_BRANCHING
  133.   Mask = 0x10000000
  134.   DependencySet = $HW_StaticBranching
  135.   DependencyReset = $HW_StaticBranching
  136.   Hidden
  137. }
  138. Property
  139. {
  140.   Name = %DYN_BRANCHING
  141.   Mask = 0x20000000
  142.   DependencySet = $HW_DynamicBranching
  143.   DependencyReset = $HW_DynamicBranching
  144.   Hidden
  145. }
  146.